package ai.star.user.server.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @Value("datasource.password")
    private String password;

    @RequestMapping("getPassword")
    public String getPassword() {
        System.out.println("================" + password);
        return password;
    }
}
